// @chearset 'utf-8';

@import url(./public.less);

* {
  box-sizing: border-box;
}
.root {
  .root-layout {
    display: flex;
    .root-layout-banner {
      img {
        width: 375px;
        vertical-align: bottom;
      }
    }
    .root-layout-content {
      flex: 1;
      .content-header {
        height: 84px;
        padding: 20px;
        .content-header-left {
          height: 44px;
          font-size: 26px;
          font-weight: 500;
          color: #333;
          line-height: 40px;
          float: left;
          img {
            width: 40px;
            height: 40px;
            vertical-align: middle;
          }
        }
        .content-header-right {
          float: right;
          a {
            margin-left: 10px;
            margin-right: 10px;
            display: inline-block;
            height: 44px;
            font-size: 14px;
            font-weight: 400;
            color: #838383;
            line-height: 44px;
            &:hover {
              color: #ff5c00;
              .triangle {
                i {
                  color: #ff5c00;
                  transform: rotate(180deg);
                }
              }
              .select {
                height: 88px;
                li:hover {
                  background-color: #ddd;
                }
              }
            }
          }
          .language {
            position: relative;
            cursor: pointer;
            .triangle {
              width: 20px;
              height: 44px;
              line-height: 44px;
              display: inline-block;
              vertical-align: middle;
              i {
                position: absolute;
                top: -1px;
                font-size: 10px;
                transition: all 0.2s;
              }
            }
            .select {
              width: 100px;
              height: 0px;
              position: absolute;
              left: -10px;
              box-shadow: 0 5px 29px 0 hsl(0deg 0% 64% / 20%);
              overflow: hidden;
              li {
                width: 100px;
                height: 44px;
                line-height: 44px;
                text-align: center;
                color: #838383;
              }
            }
          }
          .wire {
            margin-left: 10px;
            margin-right: 10px;
            display: inline-block;
            vertical-align: middle;
            height: 14px;
            border-right: 1px solid #ddd;
            width: 0;
          }
        }
      }
      .content-body {
        padding-top: 89px;
        text-align: center;
        .content-body-login {
          text-align: left;
          border-radius: 4px;
          padding: 40px 45px;
          margin: 0 auto 80px;
          box-shadow: 0 20px 50px 0 hsl(0 0 64% / 10%);
          display: inline-block;
          overflow: hidden;
          min-width: 450px;
          position: relative;
          .login-qr {
            position: absolute;
            cursor: pointer;
            top: 0;
            right: 0;
            outline: 1px solid rgba(0, 0, 0, 0);
            width: 64px;
            height: 64px;
            transform: translateZ(0);
            border: 32px solid #ff5c00;
            border-left-color: rgba(0, 0, 0, 0);
            border-bottom-color: rgba(0, 0, 0, 0);
            background-size: cover;
            z-index: 999;
            opacity: 0.4;
            transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
            span {
              position: absolute;
              right: -22px;
              top: -22px;
              font-size: 36px;
            }
            &:hover {
              opacity: 1;
            }
          }
          .login-box {
            display: flex;
            color: rgba(0, 0, 0, 0.85);
            font-size: 14px;
            flex-direction: column;
            width: 360px;
            .login-box-caption {
              position: relative;
              padding-bottom: 20px;
              > a {
                margin-right: 20px;
                height: 41px;
                line-height: 41px;
                cursor: pointer;
                float: left;
                font-size: 22px;
                font-weight: 500;
                color: #bbb;
                display: block;
              }
              .active {
                color: black;
              }
              span {
                position: absolute;
                top: 40px;
                left: 65px;
                display: block;
                height: 4px;
                width: 44px;
                background-color: #ff5c00;
                border-radius: 10px;
              }
            }
            .login-box-reg {
              width: 100%;
              .mi-form {
                display: flex;
                flex-direction: column;
                .mi-form-content {
                  padding: 20px 2px 0;
                  .mi-form-area {
                    position: relative;
                    margin-bottom: 20px;
                    input {
                      padding: 30px 20px 10px;
                      height: 60px;
                      appearance: none;
                      font-size: 17px;
                      color: #333;
                      line-height: 20px;
                      background: #f9f9f9;
                      border-radius: 4px;
                      border: 1px solid rgba(0, 0, 0, 0);
                      width: 100%;
                      outline: none;
                      cursor: pointer;
                      &:focus {
                        border: 1px solid #ff5c00;
                      }
                    }
                    span {
                      position: absolute;
                      font-size: 12px;
                      top: 6px;
                      left: 20px;
                      white-space: nowrap;
                      overflow: hidden;
                      text-overflow: ellipsis;
                      font-weight: 400;
                      color: #ddd;
                      user-select: none;
                      pointer-events: none;
                      transition: all 0.2s;
                    }
                    i {
                      position: absolute;
                      right: 15px;
                      top: 25px;
                      font-size: 12px;
                      color: #b3b1b1;
                    }
                  }
                  .mi-form-phone {
                    position: relative;
                    margin-bottom: 20px;
                    input[type="text"] {
                      padding: 30px 20px 10px;
                      height: 60px;
                      width: 141px;
                      appearance: none;
                      font-size: 17px;
                      color: #00000040;
                      line-height: 20px;
                      background: #f9f9f9;
                      border-radius: 4px 0 0 4px;
                      border: 1px solid rgba(0, 0, 0, 0);
                      outline: none;
                      cursor: not-allowed;
                      user-select: none;
                    }
                    span {
                      position: absolute;
                      font-size: 12px;
                      top: 6px;
                      left: 20px;
                      white-space: nowrap;
                      overflow: hidden;
                      text-overflow: ellipsis;
                      font-weight: 400;
                      color: #ddd;
                      user-select: none;
                      pointer-events: none;
                      transition: all 0.2s;
                    }
                    .phonespan {
                      left: 160px;
                      top: 20px;
                      font-weight: 400;
                      font-size: 18px;
                      color: #ddd;
                      user-select: none;
                      pointer-events: none;
                      transition: all 0.2s;
                      white-space: nowrap;
                      overflow: hidden;
                      text-overflow: ellipsis;
                    }
                    i {
                      position: absolute;
                      left: 120px;
                      top: 25px;
                      font-size: 12px;
                      color: #b3b1b1;
                    }
                    input[type="tel"] {
                      padding: 30px 20px 10px;
                      height: 60px;
                      width: 214px;
                      appearance: none;
                      font-size: 17px;
                      color: #333;
                      line-height: 20px;
                      background: #f9f9f9;
                      border-radius: 0 4px 4px 0;
                      border: 1px solid rgba(0, 0, 0, 0);
                      outline: none;
                      cursor: pointer;
                      &:focus {
                        border: 1px solid #ff5c00;
                        border-left: none;
                        + span {
                          font-size: 12px;
                          top: 6px;
                        }
                      }
                      &:valid + .phonespan {
                        font-size: 12px;
                        top: 6px;
                      }
                    }
                    p {
                      padding-top: 10px;
                      font-size: 12px;
                      color: red;
                      display: none;
                    }
                  }
                  .mi-form-verif {
                    position: relative;
                    margin-bottom: 20px;
                    input {
                      padding: 30px 20px 10px;
                      height: 60px;
                      appearance: none;
                      font-size: 17px;
                      color: #333;
                      line-height: 20px;
                      background: #f9f9f9;
                      border-radius: 4px 0 0 4px;
                      border: 1px solid rgba(0, 0, 0, 0);
                      width: 252px;
                      outline: none;
                      cursor: pointer;
                      &:focus {
                        border: 1px solid #ff5c00;
                        border-right: none;
                        + span {
                          font-size: 12px;
                          top: 6px;
                        }
                        + span + button {
                          border: 1px solid #ff5c00;
                          border-left: none;
                        }
                      }
                      &:valid + span {
                        font-size: 12px;
                        top: 6px;
                      }
                    }
                    span {
                      position: absolute;
                      top: 20px;
                      left: 20px;
                      white-space: nowrap;
                      overflow: hidden;
                      text-overflow: ellipsis;
                      font-weight: 400;
                      font-size: 18px;
                      color: #ddd;
                      user-select: none;
                      pointer-events: none;
                      transition: all 0.2s;
                    }
                    button {
                      display: inline-block;
                      width: 102px;
                      height: 60px;
                      border: none;
                      background-color: #f9f9f9;
                      vertical-align: top;
                      font-size: 12px;
                      color: #ff5c00;
                      line-height: 60px;
                      border-radius: 0 4px 4px 0;
                      outline: none;
                      overflow: hidden;
                      vertical-align: top;
                      cursor: pointer;
                    }
                    p {
                      padding-top: 10px;
                      font-size: 12px;
                      color: red;
                      display: none;
                    }
                  }
                  .mi-form-terms {
                    color: #ddd;
                    height: 20px;
                    position: relative;
                    input {
                      appearance: none;
                      border: 1px solid silver;
                      border-radius: 4px;
                      width: 18px;
                      height: 18px;
                      vertical-align: top;
                      margin-right: 5px;
                      outline: none;
                      &:hover {
                        border-color: #ff5c00;
                      }
                      &:checked + i {
                        display: block;
                      }
                    }
                    i {
                      position: absolute;
                      left: 0;
                      top: 0;
                      color: white;
                      border: 1px solid #ff5c00;
                      background: #ff5c00;
                      border-radius: 4px;
                      width: 18px;
                      height: 18px;
                      display: none;
                      user-select: none;
                      pointer-events: none;
                    }
                    span {
                      margin: 0 5px;
                      color: #0000009d;
                    }
                  }
                  .mi-form-button {
                    margin-top: 20px;
                    margin-bottom: 10px;
                    cursor: default;
                    background-color: #ff5c00;
                    padding: 0 20px;
                    border: none;
                    border-radius: 4px;
                    text-align: center;
                    color: white;
                    font-size: 18px;
                    font-weight: 400;
                    height: 60px;
                    line-height: 60px;
                    opacity: 0.4;
                    pointer-events: none;
                  }
                  .mi-form-actions {
                    color: #ff5c00;
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    font-size: 17px;
                    font-weight: normal;
                  }
                }
                .mi-form-other {
                  .other {
                    text-align: center;
                    font-size: 17px;
                    height: 40px;
                    line-height: 40px;
                    color: #c3c3c3;
                  }
                  .icon {
                    display: flex;
                    flex-direction: row;
                    padding: 10px 50px;
                    justify-content: space-around;
                    i {
                      font-size: 45px;
                    }
                  }
                }
              }
            }
          }
        }
      }
      .content-footer {
        text-align: center;
        font-size: 12px;
        color: #999;
      }
    }
  }
}
